<?php

require_once("jpgraph/jpgraph.php");
require_once("jpgraph/jpgraph_line.php");
$width = 900; $height = 200;
$theme = new UniversalTheme();
$graph = new Graph($width,$height);
$graph->SetScale('textint');
$graph->SetTheme($theme);
$graph->title->Set('Разходи за месецa ');
$graph->xaxis->title->Set('Дни от месеца');
//$graph->yaxis->title->Set('Разходи (.лв)');
$graph->yaxis->SetLabelFormatString("%s лв.");
$graph->yaxis->SetLabelMargin(1);

$plot= new LinePlot($_GET);
$graph->Add($plot);
$plot->SetColor("#55bbdd");
$plot->mark->SetType(MARK_FILLEDCIRCLE,'',1.0);
$plot->mark->SetColor('#55bbdd');
$plot->mark->SetFillColor('#55bbdd');
$plot->value->SetFormat('%s');
$plot->value->Show();
$plot->value->SetColor("#9f9f9f");
$plot->SetCenter();
$graph->Stroke();
?>